package com.superc.lib.network.inteface.superp;

import java.net.SocketAddress;

public interface IProtocolEventSink {

	public void ClientConnected(SocketAddress clientAddress,Boolean bolRejected,int handleId);
	
	public void CommandReceived(byte commandId,String commandName,String parameter,int handleId);
	
	public void StreamDataReceived(byte[] datas,int startIndex,int dataLength, int handleId);
	
	public void ConnectionClosed(int handleId);
	
	public void ErrorHappened(Exception exp,int handleId);
}
